package com.hippo.core.event

import org.greenrobot.eventbus.EventBus


object MessageEventBus {

    fun register(subscriber : Any){
        EventBus.getDefault().register(subscriber)
    }

    fun unregister(subscriber : Any){
        EventBus.getDefault().unregister(subscriber)
    }



    fun post(event: MessageEvent){
        EventBus.getDefault().post(event)
    }

}